home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / KPlib 1.3.5 / sample_progs / Makefile < prev    next >
Makefile  |  1995-12-17  |  1KB  |  64 lines

  1. CC = g++
  2. CFLAGS = -ansi -pedantic -fno-implicit-templates -Wall -O2
  3.  
  4. COLSOBJECTS = KPString.o cols.o
  5. DEPSOBJECTS = KPString.o deps.o
  6. SPELLCHECKOBJECTS = KPString.o spellcheck.o
  7.  
  8. all: cols deps spellcheck
  9.  
  10. cols: $(COLSOBJECTS)
  11.     $(CC) $(CFLAGS) $(COLSOBJECTS) -o cols
  12.     strip cols
  13.  
  14. deps: $(DEPSOBJECTS)
  15.     $(CC) $(CFLAGS) $(DEPSOBJECTS) -o deps
  16.     strip deps
  17.  
  18. spellcheck: $(SPELLCHECKOBJECTS)
  19.     $(CC) $(CFLAGS) $(SPELLCHECKOBJECTS) -o spellcheck
  20.     strip spellcheck
  21.  
  22. clean:
  23.     rm -f $(COLSOBJECTS) $(DEPSOBJECTS) $(SPELLCHECKOBJECTS)
  24.  
  25.  
  26. ###########################################################
  27. #
  28. #  File dependencies generated by "deps".
  29. #  Fri Jan  6 21:14:30 1995
  30. #
  31. ###########################################################
  32.  
  33. cols.o: \
  34.     ../KPArray.h \
  35.     ../KPList.h \
  36.     ../KPString.h \
  37.     ../KPbasic.h \
  38.     cols.cxx
  39.     $(CC) $(CFLAGS) -c cols.cxx
  40.  
  41. deps.o: \
  42.     ../KPList.h \
  43.     ../KPSet.h \
  44.     ../KPString.h \
  45.     ../KPbasic.h \
  46.     deps.cxx
  47.     $(CC) $(CFLAGS) -c deps.cxx
  48.  
  49. spellcheck.o: \
  50.     ../KPList.h \
  51.     ../KPSet.h \
  52.     ../KPString.h \
  53.     ../KPbasic.h \
  54.     spellcheck.cxx
  55.     $(CC) $(CFLAGS) -c spellcheck.cxx
  56.  
  57. KPString.o: \
  58.     ../KPList.h \
  59.     ../KPString.cxx \
  60.     ../KPString.h \
  61.     ../KPbasic.h
  62.     $(CC) $(CFLAGS) -c ../KPString.cxx
  63.  
  64.